package com.xc.hotelmgr.webapi.modules.dt.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xc.hotelmgr.webapi.modules.dt.entity.DtOrderChannelsEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 采购渠道
 */
@Mapper
public interface DtOrderChannelsDao extends BaseMapper<DtOrderChannelsEntity> {
	DtOrderChannelsEntity getByStoreIdAndChannel(@Param("storeId") Integer storeId, @Param("chanel") Integer chanel);
	DtOrderChannelsEntity getByStoreId(Integer storeId);
}
